FROM ubuntu:14.04
MAINTAINER Jaren <jaren@archos.com>

# Set to 32bit
#RUN dpkg --add-architecture i386

ADD openjdk-8-jre-headless_8u45-b14-1_amd64.deb /setup/openjdk/
ADD openjdk-8-jre_8u45-b14-1_amd64.deb /setup/openjdk/
ADD openjdk-8-jdk_8u45-b14-1_amd64.deb /setup/openjdk/

ADD sources.list /etc/apt/sources.list

ADD setup.sh /setup/setup.sh
RUN bash -x /setup/setup.sh

RUN apt-get -y install bc

ENV USER=root
